DataGridSetColumnWidth

 

The 'DataGridSetColumnWidth' function changes the width of specified Column on DataGrid object.

 

void @DataGridSetColumnWidth(string class_name, int column_pos, int width);

 

Parameters

string class_name : Class name of DataGrid object.

int column_pos : Column number

int width : Column width

 

Return Value

None

 

Example

@DataGridSetColumnWidth("DataGrid1", 1, 200);

Description : It changes the 1st Column width of DataGrid object 'DataGrid1', as 200.

 

Version Information

Supported Version : 10.2.6 or higher